/*
 * @description: 
 * @Author: Islands
 * @Date: 2024-06-14 18:14:06
 * @LastEditTime: 2024-06-23 03:11:59
 */
import { RouteRecordRaw } from "vue-router";
import { Login01 } from '@/layouts/LoginLayout';
export const staticRoutes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: '/',
        redirect: '/login',
        component: Login01,
        children: [
            {
                path: '/login',
                name: '/login',
                meta: {
                    title: '登录'
                },
                component: () => import('../../views/login/index.vue')
            },
        ]
    },
    {
        path: '/401',
        meta: {
            title: '401',
        },
        component: () => import('../../views/error/401.vue')
    },
    {
        path: '/error',
        redirect: '/404',
        component: Login01,
        children: [
            {
                path: '/404',
                meta: {
                    title: '404'
                },
                component: () => import('../../views/error/404.vue')
            },
        ]
    },
    // {
    //     path: '/test',
    //     component: () => import('../../views/index.vue')
    // },
    // {
    //     path: '/home',
    //     redirect: '/dashboard',
    //     component: null,
    //     children: [
    //         {
    //             path: '/dashboard',
    //             meta: {
    //                 title: '首页'
    //             },
    //             component: () => import('../../views/home/index.vue')
    //         },
    //     ]
    // },
]